<?php
mysql_connect('localhost', 'tt', 'tt123');
mysql_select_db('tt');

$tt_result = mysql_query('SET NAMES "utf8"');
print mysql_error(); 
#$tt_result = mysql_query('START TRANSACTION;');
#print mysql_error(); 
?>